<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <!--    <script src="js/checkLogin.js"></script>-->
    <script src="js/jquery-3.1.1.js"></script>
    <script src="js/base.js"></script>
</head>
<body>
    <img id="qrcode"/>
<script>
    $.rest("get","http://localhost:8080/user/qrcode",null,function (result) {
        document.getElementById("qrcode").src="data:image/png;base64,"+result.result;
    });
</script>
</body>
</html>